<?php

/**
 * @name articleimage.php
 * @msg	文章图片表
 * @date 2015-01-19
 * @create by DongJC
 */
namespace haibao\www\model\data;

class ArticleImage extends Base {

	/**
	 * 文章索引表id
	 * 
	 * @var int
	 */
	public $ArticleId;
	/**
	 * 图片表id
	 * 
	 * @var int
	 */
	public $ImageId;
	/**
	 * 图片排序
	 * 
	 * @var int
	 */
	public $PicOrder;
	/**
	 * 图片宽
	 * 
	 * @var int
	 */
	public $Width;
	/**
	 * 图片高
	 * 
	 * @var int
	 */
	public $Height;
	/**
	 * 文章内容表id
	 * 
	 * @var int
	 */
	public $ArticleContentId;
	/**
	 * 图片url
	 * 
	 * @var varchar
	 */
	public $CurrentPage;
	/**
	 * 图注
	 * 
	 * @var varchar
	 */
	public $Description;

	public $PicUrl;
	public $OriginalPic;
	Public $FileName;
	/**
	 * 导读图
	 */
	public $ProImage;
	public function __construct() {
		parent::__construct();
		$this->intField ( 'ArticleId', 'ArticleId', true );
		$this->intField ( 'ImageId', 'ImageId', true );
		$this->intField ( 'PicOrder', 'PicOrder', true );
		$this->intField ( 'Width', 'Width', true );
		$this->intField ( 'Height', 'Height', true );
		$this->intField ( 'ArticleContentId', 'ArticleContentId', true );
		$this->stringField ( 'PicUrl', 'PicUrl', true );
		
		$this->setTableName ( 'ArticleImage' );
	}
}